package com.medical.project.system.domain;

import com.medical.framework.aspectj.lang.annotation.Excel;
import com.medical.framework.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 慢性政策管理对象 t_policy
 * 
 * @author tale
 * @date 2020-06-16
 */
public class Policy extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 执行年度 */
    @Excel(name = "执行年度")
    private Long year;

    /** 比例 */
    @Excel(name = "比例")
    private Double rate;

    /** 封顶线 */
    @Excel(name = "封顶线")
    private Double maxLine;

    public Long getYear() 
    {
        return year;
    }
    public void setRate(Double rate) 
    {
        this.rate = rate;
    }

    public Double getRate() 
    {
        return rate;
    }
    public void setMaxLine(Double maxLine) 
    {
        this.maxLine = maxLine;
    }

    public Double getMaxLine() 
    {
        return maxLine;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("year", getYear())
            .append("rate", getRate())
            .append("maxLine", getMaxLine())
            .toString();
    }
}
